import com.sun.model.entity.UserInfo;
import com.sun.service.user.UserInfoService;
import org.springframework.http.HttpMethod;

public class UserInfoServiceText {
    public static void main(String[] args) {
        UserInfoService userInfoService = new UserInfoService();
        UserInfo userInfo = new UserInfo();
        userInfo.setLoginname("admin");
        userInfo.setPassword("admin");
        try {
            System.out.println(userInfoService.coreSelection(userInfo, "UserLogin", HttpMethod.valueOf("GET")));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
